#ifndef VMODULE_H
#define VMODULE_H

class QMenu;
class QToolBar;

class VAbstractView : public QWidget
{
	Q_OBJECT

public:
	VAbstractView(const QString& name);
	~VAbstractView();

public:
	virtual void activate() = 0;
	virtual void deactivate() = 0;

public:
	QString name() const;

public:
	virtual QList<QMenu*> menu() const = 0;
	virtual QList<QToolBar*> toolbar() const = 0;

private:
	QString m_name;	
};



#endif // VMODULE_H
